from src import problems, measure, astar_solution, beamsearch_solution
import matplotlib.pyplot as     plt
import test_runner
import graphic_problems_2
from heuristics import *

algos = [ 
astar_solution.astar_solution(scaled_manhattan_dirt(10)),
beamsearch_solution.beam_solution(scaled_manhattan_dirt(10), 10),
beamsearch_solution.beam_solution(scaled_manhattan_dirt(10), 30),         
]

test_runner.runtest(algos, problem_sets = graphic_problems_2.three_sets() , test_parm = 'time',title = '3 algos comparison on time')
test_runner.runtest(algos, problem_sets = graphic_problems_2.three_sets() , test_parm = 'rate',title = '3 algos comparison on success rate')